package cn.cnsy123.shorturls.business.mapper;

import org.apache.ibatis.annotations.Param;

import cn.cnsy123.shorturls.business.entity.SysFileUploadLog;
import cn.cnsy123.shorturls.business.entity.SysFileUploadLogWithBLOBs;

public interface SysFileUploadLogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysFileUploadLogWithBLOBs record);

    int insertSelective(SysFileUploadLogWithBLOBs record);

    SysFileUploadLogWithBLOBs selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysFileUploadLogWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(SysFileUploadLogWithBLOBs record);

    int updateByPrimaryKey(SysFileUploadLog record);

    SysFileUploadLogWithBLOBs selectOneByNewFileName(@Param("fileName") String fileName);

    SysFileUploadLogWithBLOBs selectOneByFileMd5Value(@Param("fileMd5Value") String fileMd5Value);
}